/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lu.med.praxiswahl.wahlumed.dao.beans.daointerface;

import java.util.List;

import javax.ejb.Local;

import lu.med.praxiswahl.wahlumed.model.beans.DoctorLettersTBL;

/**
*
* @author Patrick kendzo
* Email: pkendzo@msn.com
*/
@Local
public interface DoctorLettersDAOInt {

	public static final int	RET_Ordonancen_NOT_FOUND	= 1;
	public static final int	RET_OPERATION_DONE_PROPERLY	= 0;
	public static final int	RET_OPERATION_FAILED		= 2;
	
	public void persist(DoctorLettersTBL todo);
    public void delete(Long id);
    public void update(DoctorLettersTBL todo);
	public List<DoctorLettersTBL> findDocLetterByCustomer(String matricule);
	public DoctorLettersTBL retrieveDoctorLetterByID(Long id);
	
	public Long findDatabaseSubPrimaryKeyIndex();
}
